﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GSdk.Net.Lglcd
{
    /// <summary>
    /// Exception usually thrown by Device class.
    /// </summary>
    public class DeviceException : LglcdException
    {
        public uint ErrorCode { get; private set; }
        public DeviceException(string msg = null, uint errorCode = 0U, Exception innerException = null)
            : base(msg, innerException)
        {
            ErrorCode = errorCode;
        }
    }
}
